package com.finger.crowd.service.api;

import com.finger.crowd.entity.Auth;

import java.util.List;
import java.util.Map;

public interface AuthService {
    List<Auth> getAllAuth();

    List<Integer> getAllAuthByRoleId(Integer roleId);

    void deleteAuthByRoleId(Integer roleId);

    int insertAuth(Map<String, List<Integer>> map);

    List<String> getAuthNameByAdminId(Integer adminId);
}
